package com.maizhe.dao;


import com.maizhe.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {

    List<Role> findAll(Role role);

    int saveRole(Role role);

    int editRole(Role role);

    Role findById(@Param("id") String id);

    int remove(@Param("id") String id);
}